
/**
 * Validate and modifie a Message
 * 
 * @author Mathieu Maret
 *
 */
public abstract class Validator {
	
	/**
	 * @param m
	 * @return boolean
	 */
	public abstract boolean validation (Message m);
	
	/**
	 * @param m
	 * @return return the result of the validation methode
	 */
	public boolean isValidate(Message m ){
		return validation(m);
		
	}
	

}
